﻿using MiniFox.Configurations;
using System.Collections.ObjectModel;
using System.Configuration;

namespace MiniFox.Web.Configurations
{
    /// <summary>
    /// 
    /// </summary>
    public class ViaAgentCollection : KeyedCollection<string, ViaAgent>
    {
        internal const string ELEMENT_NAME = "viaAgents";
        /// <summary>
        /// 
        /// </summary>
        /// <param name="item"></param>
        /// <returns></returns>
        protected override string GetKeyForItem(ViaAgent item)
        {
            return item.Name;
        }
    }
}
